Core

open class Core : BaseProduct

This class contains the main API methods to be used by implementers when instrumenting their application.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
The set of possible configuration errors
Link copied to clipboard
Listener to notify on completion or failure of the configuration process

Properties

Link copied to clipboard
open var config: IConfiguration

Functions

Link copied to clipboard
open fun addABTest(name: String, percentage: Int)
Adds an A/B test
Link copied to clipboard
open fun addCPPValue(key: String, value: String)
Adds a CPP key/value pair.
Link copied to clipboard
open fun addProducts()
TODO: temporary solution.
Link copied to clipboard
open fun appendCPPValue(key: String, value: String)
Appends a value to a comma separated list stored against a custom CPP key.
Link copied to clipboard
open fun checkIfProductExists(product: Product.Products): Boolean
Link copied to clipboard
open fun completeProductInitialization(application: Application, oldConfig: IConfiguration, newConfig: IConfiguration)
Link copied to clipboard
open fun disable()
Link copied to clipboard
open fun enable()
Link copied to clipboard
open fun getAllCPPs(): Map<String, String>
Gets all CPP key/value pairs
Link copied to clipboard
Get remote configuration container
Link copied to clipboard
open fun getCPPValue(key: String): String
Gets the CPP value associated to a given key
Link copied to clipboard
open fun getDatacenter(): String
Gets the current datacenter name.
Link copied to clipboard
Get the default config locale
Link copied to clipboard
Get the currently supported config locales
Link copied to clipboard
open fun getVersion(): String
Gets the version of the SDK
Link copied to clipboard
open fun initStubInstance()
Link copied to clipboard
Link copied to clipboard
Check whether debug logging is enabled
Link copied to clipboard
Link copied to clipboard
open fun logFeatures(application: Application, configuration: IConfiguration)
Link copied to clipboard
open fun prepareProduct(application: Application, configuration: IConfiguration): Boolean
Link copied to clipboard
open fun removeCPPValue(key: String)
Removes a CPP value.
Link copied to clipboard
Link copied to clipboard
open fun resetState()
Reset the state of the SDK.
Link copied to clipboard
Set remote configuration container When testing your remote configuration of the Verint SDK, it may be useful to try out your new configuration in a non-production container first.
Link copied to clipboard
open fun setCPPValueFromArray(key: String, values: Array<String>)
Adds a CPP key/value pair.
Link copied to clipboard
open fun setDatacenter(name: String)
Sets the datacenter name.
Link copied to clipboard
open fun setDebugLogEnabled(debugLoggingEnabled: Boolean)
Allows implementers to configure the SDK to produce more verbose logging output.
Link copied to clipboard
open fun setEventLogEnabled(eventLoggingEnabled: Boolean)
Allows implementers to configure the SDK to prevent the default logging of analytics events.
Link copied to clipboard
Set the Verint SDK Listener This method sets the callback which notifies when the SDK started or failed to start
Link copied to clipboard
open fun setSkipPoolingCheck(skipPoolingCheck: Boolean)
Allows implementers to configure the SDK to skip the pooling check.
Link copied to clipboard
open fun setSupportedConfigLocales(locales: Set<String>, defaultLocale: String)
Specifies the supported config locales.
Link copied to clipboard
Check if the pooling check is disabled
Link copied to clipboard
open fun start(application: Application)
Start the Verint SDK.
Link copied to clipboard
open fun startWithAppId(application: Application, appId: String)
open fun startWithAppId(application: Application, appId: String, version: String)
Starts the SDK with a configuration from Verint's configuration provider.
Link copied to clipboard
open fun startWithConfiguration(application: Application, filename: String)
Starts the SDK using a custom configuration file name.
Link copied to clipboard
open fun startWithConfigurationJSON(application: Application, configJSON: String)
Starts the SDK using a custom configuration JSON string.
Link copied to clipboard
open fun startWithConfigurationUrl(application: Application, url: String)
Starts the SDK with a custom configuration from a remote URL.
Link copied to clipboard
open fun startWithSiteKey(application: Application, siteKey: String)
Starts the SDK with a configuration from the Configurator.
Link copied to clipboard
open fun unifySamplingForWebView(webView: WebView)
Connects the story engine to the given web view for unified sampling.
Link copied to clipboard
open fun updateConfig(application: Application, configJSON: String): Configuration
Updates the SDK with a custom configuration JSON string.
Link copied to clipboard
open fun useLocalConfig(application: Application): Configuration
Updates the current persistenceSerializer to use a local configuration file.
Link copied to clipboard
open fun validateConfig(json: String): Boolean